java:
	javac InstanceFieldAccess.java
	javah -jni InstanceFieldAccess
	javap -s -p InstanceFieldAccess
native:
	cc -fPIC -c -I. -I${JAVA_HOME}/include/ InstanceFieldAccess.c 
	cc -shared InstanceFieldAccess.o -o libInstanceFieldAccess.so
run:
	java -Djava.library.path=. InstanceFieldAccess

clean:
	rm -f *.o *.so *.class